package de.jmda.home.ui.vaadin.usermgmt;

import org.apache.commons.lang3.StringUtils;

public class AuthenticatorSample implements Authenticator
{
	@Override
	public String authenticate(String username, String password)
	{
		if (StringUtils.equals(username, "test") &&
		    StringUtils.equals(password, "test"))
		{
			return username;
		}

		return null;
	}
}